{{ await Mode("TPL").Render("@"+KUO.CLASS+"/"+TPLtemp+"/head",KUO,THIS) }}

{{#
if(KUO.$DATA.photo != ""){

}}
<div class="kuotopz">

    <img src="{{pichttp(KUO.$DATA.photo)}}"></img>
</div>

{{#
}

}}
<div class="kuotoplist">

  <div class="layui-container">
    <div class="layui-row layui-col-space30">



      {{#
        let $DAOHANGTYPE = await THIS.TYPE_select({'off':2,'subclass':THIS.$features.configure['分类id'][0]?THIS.$features.configure['分类id'][0]:0,'displayswitch':1});

        if($DAOHANGTYPE){
            for(let I in $DAOHANGTYPE){
                let DATA = $DAOHANGTYPE[I];

    }}
    {{#
      let $WWH = {'off':2,subclass:DATA.id};
      
      let $游戏数据 = await  THIS.CENTER_select($WWH,"popularity desc",10  );
      if( $游戏数据 ){
          
              
      }}
      <div class="layui-col-md4 layui-col-xs12 toplist">
        <div class="toplist-t">
          {{DATA.name}}热门 <a href="{{ KuoLink([ KUO.CLASS,DATA.url])}}" class="morer">^更多^</a>
        </div>
        <div class="layui-row toplistone">
          {{#
             let $eli = $游戏数据[0];
             let $eliurl = KuoLink([ KUO.CLASS, $eli['url'] ]); 
          }}
          <div class="layui-col-md4 layui-col-xs4">
            <a href="{{$eliurl}}"><img src="{{pichttp($eli.photo)}}" class="img"></img></a>
          </div>
          <div class="layui-col-md7 layui-col-xs7 yidongx">
            <h2><a href="{{$eliurl}}">{{$eli.name}}</a></h2>
            <p class="p desc"> {{$eli.describes}} </p>
            <p class="cjyihang p">更至：<span class="span">{{$eli.char1}}</span></p>
            <p class="cjyihang p">人气：{{$eli.popularity}} </p>
          </div>

        </div>
        <ul class="toplist-qt"> 
          {{# for(let $ii in $游戏数据 ){
            if($ii < 1){
              continue;
            }

            let $eli = $游戏数据 [$ii ];
            let $eliurl = KuoLink([ KUO.CLASS, $eli['url'] ]); 
          }}
          <li><span class="span">人气：{{$eli.popularity}}</span><a href="{{$eliurl}}"><em class="em em{{$ii*1+1}}">{{$ii*1+1}}</em>{{$eli.name}}</a></li>
          {{# } }}
        </ul>
      

      </div> 
      
      {{# } }}
      {{# } } }}

    


    </div> 
    <div class="layui-clear"></div>
  </div>


</div>
{{ await Mode("TPL").Render("@"+KUO.CLASS+"/"+TPLtemp+"/foot",KUO,THIS) }}
<script>
var height = 0;
$(function(){
  layui.flow.lazyimg(); 
});
</script>